package 面向对象上;
class Person{
	 void say(){
		 System.out.println("Hello");
	 }
}
public class Example02 {
      public static void main(String[] args) {
		Person ps=new Person();
		ps.say();
		ps=null;  //设置对象为空
		ps.say();
	}
}
